package com.zzc.emotisenseclassroom.domain.classScore.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.zzc.emotisenseclassroom.domain.classScore.vo.optionComponet.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * Copyright Zzc
 * FileName: LineOptionVO
 * Author:   Zzc
 * Date:     2024/5/312:39
 * Description:折线图数据
 * hISTORY:
 * <author>  <time>     <version>    <desc>
 * 作者姓名   修改时间       版本号       描述
 * Zzc                   1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LineOptionVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 2056053504962562017L;

    /**
     * 标题
     */
    private Title title;

    private Tooltip tooltip;

    /**
     * 横轴
     */
    @JSONField(name = "xAxis")
    private XAxis xAxis;

    /**
     * 纵轴
     */
    @JSONField(name = "yAxis")
    private YAxis yAxis;

    /**
     * 有多条折线时每条折线的描述
     */
    private Legend legend;

    /**
     * 纵轴值
     */
    private List<SeriesElement> series;
}
